﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class NetBarInfo
    {
        public const string TABLE_NAME = "NetBar";
        public const string INSERT_SQL = "INSERT INTO NetBar([ID],[UserID],[Address],[Telephone],[Status],[Time],[Name],[MobileNumber],[Province],[City],[BarName],[GoldValue]) values (@ID,@UserID,@Address,@Telephone,@Status,@Time,@Name,@MobileNumber,@Province,@City,@BarName,@GoldValue)";
        public const string UPDATE_SQL = "UPDATE NetBar SET [ID]=@ID,[UserID]=@UserID,[Address]=@Address,[Telephone]=@Telephone,[Status]=@Status,[Time]=@Time,[Name]=@Name,[MobileNumber]=@MobileNumber,[Province]=@Province,[City]=@City,[BarName]=@BarName,[GoldValue]=@GoldValue where ID = @ID";

        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Address
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Telephone
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Status
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime Time
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string MobileNumber
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Province
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string City
        {
            get;
            set;
        }

        public string BarName
        {
            get;
            set;
        }

        /// <summary>
        /// 金币比值
        /// </summary>
        public double GoldValue
        {
            get;
            set;
        }
    }

}
